package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.entity.vo.SetmealDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SetmealMapper extends BaseMapper<Setmeal> {
    List<Setmeal> pageSetmeal(Integer pageNo, Integer pageSize, String name);

    Integer getTotal(String name);

    Integer selectCountSetmeal(List<Long> ids);

    void deleteBySetmealId(Long id);

    void updateStatusById(Integer status, Long id);


}
